<?php
class v1_message{
    function index($time,$go,$style,$msg,$script=false){
    	if($script){$go="javascript:history.go(-1);";}
		$this->yum->set(array('time'=>$time,'go'=>$go,'style'=>$style,'message'=>$msg,'script'=>$script));
    	$this->yum->view('message.php');
    }
}
?>